﻿namespace ZProto
{
    /// <summary>
    /// 变量结构
    /// </summary>
    public class ProtoField
    {
        public string Type;                             // 变量类型
        public string Name;                             // 变量名
        public bool IsArray;                                // 是否是数组

        public ProtoField(string name, string type, bool isArray)
        {
            Name = name;
            Type = type;
            IsArray = isArray;
        }
    }
}
